package com.clkj.xiuzheng.pojo.shangcheng;



import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


/**
* 
* @TableName t_xz_productImage
*/
@ApiModel( value ="t_xz_productImage" )
@Table( name ="t_xz_productImage" )
public class ProductImage implements Serializable {

    /**
    * 轮播图 详情图
    */
    @Id
    @Column(name = "image_id" ,updatable = false)
    @ApiModelProperty("用户id")
    private Integer imageId;
    /**
    * 商品id
    */
    @Column(name = "product_id" )
    @ApiModelProperty("商品id")
    private Integer productId;
    /**
    * 图片地址
    */
    @Column(name = "image" )
    @ApiModelProperty("图片地址")
    private String image;
    /**
    * 图片类型 0轮播图 1详情图
    */
    @Column(name = "image_type" )
    @ApiModelProperty("商品id")
    private Integer imageType;
    /**
    * 0 删
    */
    @Column(name = "is_deleted" )
    @ApiModelProperty("0 删")
    private Integer isDeleted;


    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }



    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Integer getImageType() {
        return imageType;
    }

    public void setImageType(Integer imageType) {
        this.imageType = imageType;
    }

    public Integer getImageId() {
        return imageId;
    }

    public void setImageId(Integer imageId) {
        this.imageId = imageId;
    }
}
